namespace Vin.Tool.Core.RandomCategory;

public static partial class Extension
{
    public static string Random(this char[] array, int length)
    {
        return RandomTool.RandomString(array, length);
    }

    public static string Random(this List<char> array, int length)
    {
        return RandomTool.RandomString(array.ToArray(), length);
    }
}